package com.qq.afterSaleSystem.entity;

import java.util.Date;

public class Part {
    private Integer id;
    private String partVar;
    private String partName;
    private String partVersion;
    private String partColor;
    private String partAddress;
    private String partSource;
    private Date partIndate;
    private Integer partInprice;
    private Integer partTotal;
    private Integer partAllprice;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPartVar() {
        return partVar;
    }

    public void setPartVar(String partVar) {
        this.partVar = partVar;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getPartVersion() {
        return partVersion;
    }

    public void setPartVersion(String partVersion) {
        this.partVersion = partVersion;
    }

    public String getPartColor() {
        return partColor;
    }

    public void setPartColor(String partColor) {
        this.partColor = partColor;
    }

    public String getPartAddress() {
        return partAddress;
    }

    public void setPartAddress(String partAddress) {
        this.partAddress = partAddress;
    }

    public String getPartSource() {
        return partSource;
    }

    public void setPartSource(String partSource) {
        this.partSource = partSource;
    }

    public Date getPartIndate() {
        return partIndate;
    }

    public void setPartIndate(Date partIndate) {
        this.partIndate = partIndate;
    }

    public Integer getPartInprice() {
        return partInprice;
    }

    public void setPartInprice(Integer partInprice) {
        this.partInprice = partInprice;
    }

    public Integer getPartTotal() {
        return partTotal;
    }

    public void setPartTotal(Integer partTotal) {
        this.partTotal = partTotal;
    }

    public Integer getPartAllprice() {
        return partAllprice;
    }

    public void setPartAllprice(Integer partAllprice) {
        this.partAllprice = partAllprice;
    }

    public Part() {
    }

    public Part(Integer id, String partVar, String partName, String partVersion, String partColor, String partAddress, String partSource, Date partIndate, Integer partInprice, Integer partTotal, Integer partAllprice) {
        this.id = id;
        this.partVar = partVar;
        this.partName = partName;
        this.partVersion = partVersion;
        this.partColor = partColor;
        this.partAddress = partAddress;
        this.partSource = partSource;
        this.partIndate = partIndate;
        this.partInprice = partInprice;
        this.partTotal = partTotal;
        this.partAllprice = partAllprice;
    }

    @Override
    public String toString() {
        return "Part{" +
                "id=" + id +
                ", partVar='" + partVar + '\'' +
                ", partName='" + partName + '\'' +
                ", partVersion='" + partVersion + '\'' +
                ", partColor='" + partColor + '\'' +
                ", partAddress='" + partAddress + '\'' +
                ", partSource='" + partSource + '\'' +
                ", partIndate=" + partIndate +
                ", partInprice=" + partInprice +
                ", partTotal=" + partTotal +
                ", partAllprice=" + partAllprice +
                '}';
    }
}
